#!/bin/bash
# 需先登录认证，执行d
docker login -u admin -p Harbor12345 http://172.23.32.15

docker rmi 172.23.32.15/credit_inquiry/whgjzt-auth:credit-inquiry-v1.1
docker rmi 172.23.32.15/credit_inquiry/whgjzt-gateway:credit-inquiry-v1.1
docker rmi 172.23.32.15/credit_inquiry/whgjzt-upms-biz:credit-inquiry-v1.1

docker tag whgjzt-auth:credit-inquiry-v1.1       172.23.32.15/credit_inquiry/whgjzt-auth:credit-inquiry-v1.1
docker tag whgjzt-gateway:credit-inquiry-v1.1    172.23.32.15/credit_inquiry/whgjzt-gateway:credit-inquiry-v1.1
docker tag whgjzt-upms-biz:credit-inquiry-v1.1   172.23.32.15/credit_inquiry/whgjzt-upms-biz:credit-inquiry-v1.1

docker push 172.23.32.15/credit_inquiry/whgjzt-auth:credit-inquiry-v1.1
docker push 172.23.32.15/credit_inquiry/whgjzt-gateway:credit-inquiry-v1.1
docker push 172.23.32.15/credit_inquiry/whgjzt-upms-biz:credit-inquiry-v1.1

